public class Date {
    public int year;
    public int month;
    public int day;
    public Date(int year,int month,int day){
        this.year=year;
        this.month=month;
        this.day=day;
    }
    public Date(){
        this(2022,2,2);
    }
    public void printDay(){
        System.out.println("现在是"+year+"年"+month+"月"+day+"日");
    }
}
